<!doctype html>
<html class="no-js">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>党建网</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../../assets/css/amazeui.css" />
    <link rel="stylesheet" href="../../assets/css/admin.css">
    <link rel="stylesheet" href="../../css/index.css">
    <link rel="stylesheet" href="../../css/parVideo.css">
    

</head>

<body>
    <!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
  以获得更好的体验！</p>
<![endif]-->

    <div class="content">

        <!--nav-div-->
        <div id="nav-bar" class="nav-bar"></div>
        <!--nav-div-->

        <div id="img-div"></div>

        <!--left-->
        <div id="left-div" class="left-div"></div>
        <!--left-->

        <!--content-->
        <div class="content-div">
        <div class="header">党员风采:党员介绍</div>
        <div class="his-div">
            <table style="margin:20px;width:300px;font-size:18px;float:left">
                <tr><td>姓名</td><td id="name"></td></tr>
                <tr><td>性别</td><td id="gender"></td></tr>
                <tr><td>出生年月</td><td id="birth"></td></tr>
                <tr><td>党建工作</td><td id="job"></td></tr>
                <tr><td>入党日期</td><td id="join"></td></tr>
            </table>
            <div class="img"><img id="img_tx" class="am-circle" src="" width="140" height="140"/></div>
            <div>
                <div style="width:100%;float:left;font-size:18px;padding-left:25px">党员简介</div>
                <div class="intro">
                 </div>
            </div>
              
            </div>
        </div>
        
        <!--content-->


        <!--right-->
        <div id="right-div" class="right-div"></div>
        <!--right-->
    </div>
    <!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="/assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

    <!--[if (gte IE 9)|!(IE)]><!-->
    <script src="../../js/jquery-1.12.3.min.js"></script>
    <!--<![endif]-->
    <script src="../../assets/js/amazeui.min.js"></script>
    <script src="../../js/index.js"></script>
    <script src="../../js/prevHeader.js"></script>
    <script src="../../js/jquery.zlight.menu.1.0.min.js"></script>

<script src="../../js/global.js"></script>
    <script>
         $(document).ready(function(){
            $("#location").text("当前位置：首页 > 党员风采 > 党员介绍");
            var pkPartyMem= getCookie("pkPartyMem");
            //alert(pkPartyMem);
            $.ajax({
       			type : "GET",
       			url : "/partyBuilding/partyMem/"+pkPartyMem,
       			data:{
       				pkPartyMem:pkPartyMem
       			},
       			contentType : "application/json",
       			dataType : "json",
       			success : function(data) {
       				//alert(JSON.stringify(data));
       				
       				if(data.code == "200") {
       					var data = data.partyMem;
       					infom(data);
       				}
       			},
       			error : function() {
       				
       			}
       		});  
           
        })
        function infom(data){
        	 $("#name").text(data.pmName);
        	// alert(data.pmName);
        	 data.pmGender==false? ($("#gender").text("女")):($("#gender").text("男"));
        	 $("#job").text(data.pmJob);
        	 $("#birth").text(getDate(data.pmBirthDate));
        	 $("#join").text(getDate(data.pmJoinDate));
        	 $(".intro").html(data.pmIntro);
        	 $("#img_tx").attr('src',data.pmPhotoUrl);
        	 
 
         }
        
    </script>

</body>

</html>